package com.yh.serviceimpl;
import com.yh.javabean.Orders;
import com.yh.mapper.OrdersMapper;
import com.yh.service.OrdersService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
/**
 * @Auther: als
 * @Date: 2024/6/2 - 06 - 02 - 10:39
 * @Description: com.yh.serviceimpl
 * @version: 1.0
 */
@Service("ordersService")
public class OrdersServiceImpl implements OrdersService {
    @Autowired
    OrdersMapper ordersMapper;
    @Override
    public ArrayList<Orders> findAll() {
        return ordersMapper.selectAll();
    }
}
